Coder Social home page Coder Social logo

Errors in app.js client about vuepack HOT 4 CLOSED

egoist avatar egoist commented on September 26, 2024
Errors in app.js client

from vuepack.

Comments (4)

egoist avatar egoist commented on September 26, 2024

Where did you see these errors? It looks like some eslint errors, if so you can modify the code to suit your own need.

from vuepack.

p-adams avatar p-adams commented on September 26, 2024

untitled
I am seeing the errors in Visual Studio. They appear to be syntax errors. The other error I see is when I
cd build -> node server.js to run the server from there: ERROR in multi client Module not found: Error: Can't resolve './client/index.js' in 'C:\home\new-project\build' @ multi client
This might be unrelated. I am not familiar enough with webpack to know what is going on here.

from vuepack.

egoist avatar egoist commented on September 26, 2024

For the syntax error, please refer to https://code.visualstudio.com/docs/languages/javascript , add jsconfig.json to make vscode aware of es6.

For the build error, you should run commands in project root directory or run npm run dev to start dev server. the pwd is important for Webpack to resolve files.

from vuepack.

p-adams avatar p-adams commented on September 26, 2024

Okay, must just be a VS thing. Weird since VS no longer requires jsconfig.json to make it aware of es6.

from vuepack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.