Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run dev 'vue-particles.vue' Syntax Error: TypeError: Cannot read property 'styles' of undefined #203

Open
jiftle opened this issue Nov 1, 2022 · 2 comments

Comments

@jiftle
Copy link

jiftle commented Nov 1, 2022

version

[email protected] (/home/opt/my-apps/node/lib/node_modules/cnpm/lib/parse_argv.js)
[email protected] (/home/opt/my-apps/node/lib/node_modules/cnpm/node_modules/npm/index.js)
[email protected] (/home/opt/my-apps/node/bin/node)
[email protected] (/home/opt/my-apps/node/lib/node_modules/cnpm/node_modules/npminstall/lib/index.js)
prefix=/home/opt/my-apps/node 
linux x64 5.15.45-amd64-desktop 
registry=https://registry.npmmirror.com

npm run dev error

ERROR  Failed to compile with 1 error

 error  in ./node_modules/[email protected]@vue-particles/src/vue-particles/vue-particles.vue

Syntax Error: TypeError: Cannot read property 'styles' of undefined


 @ ./node_modules/[email protected]@vue-particles/src/vue-particles/index.js 2:0-43 7:39-48
 @ ./src/main.js
 @ multi ./node_modules/[email protected]@webpack-dev-server/client?http://192.168.2.150:9527&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
@liuzhenan
Copy link

liuzhenan commented Dec 26, 2022

same error

@wujinfeng
Copy link

me too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants